home *** CD-ROM | disk | FTP | other *** search
- /* CHUNK.C
-
- Copyright (c) 1984, Gordon Lee Waite
- 413 W. Pleasant Street
- Maquoketa, IA 52060
-
-
- Summary: chunk infile outfile begin end
-
- Arguments: infile is the name of the input file
-
- outfile is the name of the output file
-
- begin is the beginning line number
-
- end is the ending line number
-
- Description: Chunk is used to copy a part of one file to
- another file. The text that is copied is
- based on line numbers. Chunk will only work
- with ASCII files.
-
- Example: chunk myfile newfile 1 50
-
- This example will copy the first fifty lines of
- myfile into a file called newfile.
-
- Example: chunk myfile newfile 100 *
-
- This example will copy lines from myfile into
- newfile, starting at line number 100, and continuing
- until the end of myfile has been reached. The '*'
- symbol means copy to the end of the file.
-
- Note: Currently, the longest line that chunk can deal with
- is 512 characters.
- */
-